package com.aloha.springframework.aop.aspectj.annotation;

import com.aloha.springframework.aop.Advisor;
import com.aloha.springframework.beans.factory.BeanFactory;

import java.util.List;

/**
 * @author DaiZhiHeng
 * @description 为添加了@Aspect的类创建Advisor
 * @date 2023/8/2 17:47
 */
public interface AspectJAdvisorFactory {

    boolean isAspect(Class<?> clazz);

    List<Advisor> getAdvisors(Class<?> clazz);

    void setBeanFactory(BeanFactory beanFactory);
}
